import request from "@/utils/request";

export const registerAPI = (data) => {
    return request.post("/api/register", data);
};

export const loginAPI = (data) => {
    return request.post("/api/login", data);
};